<?php

namespace Xin\ThinkPHP\Foundation\Console;

use think\Service;

class ConsoleServiceProvider extends Service
{

    /**
     * 启动器
     */
    public function boot()
    {
        if (!$this->app->runningInConsole()) {
            return;
        }

        $this->commands([
            KeyGenerate::class,
        ]);
    }

}
